
<!DOCTYPE html>
<html>
<head>
	<title>请选择分支机构</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="${resource(dir:'css/jquery.mobile-1.3.2.min.css')}" />
	<script type="text/javascript" src="${resource(dir:'js/jquery-1.9.1.min.js')}"></script>
	<script src="${resource(dir:'js/jquery.mobile-1.3.2.min.js')}"></script>
</head>
<body>
	<div data-role="page">
		<div data-theme="b" data-role="header" data-position="fixed">选择分公司</div>
		<div data-role="content">
			<g:form action="saveBranch" controller="branch">
			<g:hiddenField name="subscriber.id" value="${subscriber.id }"/>
				<fieldset data-role="controlgroup" data-mini="true">
					<g:each in="${branches}" var="branch" status="i">
						<input type="radio" name="branch.id" id="radio-mini-${branch.id }" value="${branch.id }" ${(branch.id == subscriber.account?.subAccount?.id)?'checked="checked"':''} />
				    	<label for="radio-mini-${branch.id }">${branch.name }</label>
					</g:each>
					<g:submitButton name="saveBranch" value="保存"/>
				</fieldset>
			</g:form>
		</div>
	</div>
</body>

</html>
